package server.main.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.CacheNamespace;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import server.main.config.cache.MybatisPlusRedisCache;
import server.main.pojo.DataDictionary;

import java.util.List;

/**
 * @auther MingHsZzz
 * @Date 2022/10/10  16:58
 * @project main
 * @description
 */


@Mapper
//@CacheNamespace(implementation = MybatisPlusRedisCache.class)
public interface DataDictionaryMapper extends BaseMapper<DataDictionary> {

   @Select("select * from gender")
   public List<DataDictionary> getAllGender();



   @Select("select * from nationality")
   public List<DataDictionary> getAllNationality();


}
